package com.ruoyi.project.mahjong.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 断电记录对象 t_out_send
 *
 * @author ruoyi
 * @date 2023-10-19
 */
@ApiModel("断电记录实体类字段描述")
public class TOutSend extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 预留3 */
    @Excel(name = "预留3")
    @ApiModelProperty(value = "订单号")
    private String bak3;

    /** 预留2 */
    @Excel(name = "预留2")
    @ApiModelProperty(value = "会员id")
    private String bak2;


    @ApiModelProperty(value = "会员姓名")
    private String name;
    @ApiModelProperty(value = "桌子名称")
    private String tableName;

    /** 预留1使用为 断电原因 1超时 2会员余额不足 */
    @Excel(name = "预留1")
    @ApiModelProperty(value = "预留1 使用为 断电原因 1超时 2会员余额不足")
    private String bak1;

    /** 是否断电成功 */
    @Excel(name = "是否断电成功")
    @ApiModelProperty(value = "是否断电成功")
    private String isSuccess;

    /** 发送断电时间 */
    @Excel(name = "发送断电时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "发送断电时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date sendTime;

    /** 桌子id */
    @Excel(name = "桌子id")
    @ApiModelProperty(value = "桌子id")
    private String tableId;

    /** 房间id */
    @Excel(name = "房间id")
    @ApiModelProperty(value = "房间id")
    private String roomId;

    /** 店铺id */
    @Excel(name = "店铺id")
    @ApiModelProperty(value = "店铺id")
    private String shopId;

    /** id */
    @ApiModelProperty(value = "id")
    private Long id;

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setBak3(String bak3)
    {
        this.bak3 = bak3;
    }

    public String getBak3()
    {
        return bak3;
    }
    public void setBak2(String bak2)
    {
        this.bak2 = bak2;
    }

    public String getBak2()
    {
        return bak2;
    }
    public void setBak1(String bak1)
    {
        this.bak1 = bak1;
    }

    public String getBak1()
    {
        return bak1;
    }
    public void setIsSuccess(String isSuccess)
    {
        this.isSuccess = isSuccess;
    }

    public String getIsSuccess()
    {
        return isSuccess;
    }
    public void setSendTime(Date sendTime)
    {
        this.sendTime = sendTime;
    }

    public Date getSendTime()
    {
        return sendTime;
    }
    public void setTableId(String tableId)
    {
        this.tableId = tableId;
    }

    public String getTableId()
    {
        return tableId;
    }
    public void setRoomId(String roomId)
    {
        this.roomId = roomId;
    }

    public String getRoomId()
    {
        return roomId;
    }
    public void setShopId(String shopId)
    {
        this.shopId = shopId;
    }

    public String getShopId()
    {
        return shopId;
    }
    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("bak3", getBak3())
            .append("bak2", getBak2())
            .append("bak1", getBak1())
            .append("isSuccess", getIsSuccess())
            .append("sendTime", getSendTime())
            .append("tableId", getTableId())
            .append("roomId", getRoomId())
            .append("shopId", getShopId())
            .append("id", getId())
            .toString();
    }
}
